package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.entity.Department;
import com.mapper.DepartmentMapper;
import com.service.DepartmentService;

public class DepartmentServiceImpl implements DepartmentService {
	@Autowired
	private DepartmentMapper departmentMapper;

	@Override
	public List<Department> getAllDepartment() throws Exception {
		return departmentMapper.getAllDepartment();
	}
	
}
